<p>
  <b>Name:</b>
  <%=h @contact.name %>
</p>

<p>
  <b>Firstname:</b>
  <%=h @contact.firstname %>
</p>

<p>
  <b>User:</b>
  <% if @contact.user != nil %><%=h @contact.user.login %><%end%>
</p>

<p>
  <b>Company:</b>
  <% if @contact.company != nil %><%=h @contact.company.name %><%end%>
</p>

<p>
  <b>Mail:</b>
  <%=h @contact.mail %>
</p>

<p>
  <b>Phone num:</b>
  <%=h @contact.phone_num %>
</p>


	<% link_to edit_contact_path, :class => 'ui-state-default ui-corner-all dialog_link' do %>
		<span class="ui-icon ui-icon-pencil"></span>Edit
	<% end %>&nbsp;
	<% link_to @contact, :confirm => 'Are you sure ?', :method => :delete, :class => "ui-state-error ui-corner-all dialog_link ui-state-hover" do %>
		<span class="ui-icon ui-icon-close"></span>Destroy
	<% end %>&nbsp;
	<% link_to contacts_path, :class => 'ui-state-default ui-corner-all dialog_link' do %>
		<span class="ui-icon ui-icon-arrowreturnthick-1-w"></span>Back
	<% end %>